package com.intellagric.service.iftmonitor.ift_channel;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.iftmonitor.ChannelVo;
import com.intellagric.pojo.IftChannel;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/20
 * @DESC： 通道服务接口
 */
public interface ChannelService {

    //增加通道
    ResponseMessage addChannel(IftChannel channel);

    //删除通道
    ResponseMessage deleteChannel(String id);

    //修改通道
    ResponseMessage editChannel(IftChannel channel);

    //查询通道
    IftChannel getChannelById(String id);
    LayuiDataGridResult getChannelList();
    LayuiDataGridResult getChannelListByVo(ChannelVo channelVo);
    LayuiDataGridResult getChannelPage(int page, int rows);
    
}
